{% load static %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <meta name="generator" content="HTML Tidy for Mac OS X (vers 31 October 2006 - Apple Inc. build 13), see www.w3.org" />

  <title>Peptide Prediction</title>
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
    <link rel="stylesheet" href="{% static 'css/stylesheet.css' %}">
    <script src="{% static 'js/sms_common.js' %}"></script>
    <script src="{% static 'js/sms_genetic_codes.js' %}"></script>
    <script src="{% static 'js/peptide_predict.js' %}"></script>
</head>

<body class="main" onload="document.main_form.main_submit.focus()">
  <!-- MAIN TABLE -->

  <table border="0" cellspacing="2" cellpadding="2">
    <tbody>
      <tr>


        <td class="program">
          <table border="0" cellspacing="0" cellpadding="2" >
            <tbody>
              <tr>
                <td class="sms">Peptide Prediction</td>
              </tr>
               </tbody>
          </table><!-- MAIN TABLE END -->
            <p>Prediction results</p>
          <table border="1" cellspacing="0" cellpadding="2" style="word-break:break-all;font-size: small">
            <tbody>
            <tr><td width="150px">id</td><td  width="800px">seq</td><td width="70px">peptide</td></tr>
            {%for orf in json_orfs%}
                <tr><td width="150px">{{ orf.title }}</td><td  width="800px">{{ orf.xulie }}</td><td width="70px">{{ orf.peptide }}</td></tr>
            {% endfor %}
            </tbody>
          {{ start }}_{{ position }}_{{ strand }}_{{ least_length }}_{{ genetic_code }}
          </table><!-- MAIN TABLE END -->
        </td>
      </tr>
    </tbody>
  </table>
</body>
</html>
